<template>
  <el-dialog title="日志详情" :visible.sync="idDetail">
    <el-form :model="form">
      <el-form-item label="id" :label-width="formLabelWidth">
        <el-input :value="form.id" autocomplete="off" />
      </el-form-item>
      <el-form-item label="requestUri" :label-width="formLabelWidth">
        <el-input :value="form.requestUri" autocomplete="off" />
      </el-form-item>
      <el-form-item label="requestMethod" :label-width="formLabelWidth">
        <el-input :value="form.requestMethod" autocomplete="off" />
      </el-form-item>
      <el-form-item label="requestIp" :label-width="formLabelWidth">
        <el-input :value="form.requestIp" autocomplete="off" />
      </el-form-item>
      <el-form-item label="exceptionDetail" :label-width="formLabelWidth">
        <el-input type="textarea" :autosize="{ minRows: 1, maxRows: 5}" :value="form.exceptionDetail" autocomplete="off" />
      </el-form-item>
      <el-form-item label="requestParam" :label-width="formLabelWidth">
        <el-input type="textarea" :autosize="{ minRows: 1, maxRows: 5}" :value="form.requestParam" autocomplete="off" />
      </el-form-item>
      <el-form-item label="requestHead" :label-width="formLabelWidth">
        <el-input type="textarea" :autosize="{ minRows: 5, maxRows: 5}" :value="form.requestHead" autocomplete="off" />
      </el-form-item>
    </el-form>
    <div slot="footer" class="dialog-footer">
      <el-button type="primary" @click="idDetail = false">确 定</el-button>
    </div>
  </el-dialog>
</template>

<script>
export default {
  components: {

  },
  // eslint-disable-next-line vue/require-prop-types
  props: ['form'],
  data() {
    return {
      idDetail: false,
      formLabelWidth: '25%',
      srcList: []
    }
  },
  computed: {

  },
  watch: {

  },
  created() {

  },
  mounted() {

  },
  methods: {

  }
}
</script>
